package com.cy.stone.common.errorcode;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 认证相关错误码
 * @author Wings
 * @since 2023-12-10
 */
@Getter
@AllArgsConstructor
public enum AuthErrorCode {

    USER_NOT_EXIST("E1000", "用户不存在"),
    USER_INVALID("E1001", "用户被禁用"),
    PASSWORD_ERROR("E1002", "密码错误"),
    PASSWORD_INVALID("E1003", "您的密码已过期，请更新密码"),
    PASSWORD_ERROR_TOO_MUCH("E1004", "密码错误次数过多，用户将被禁用，请联系管理员");

    private final String code;

    private final String message;
}
